package com.cenntro.oss.model.vo;

import javax.validation.constraints.NotNull;

import com.cenntro.common.model.vo.PageVO;
import com.cenntro.oss.valid.Valid;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper=true)
public class VehicleVO extends PageVO{
	
	/**状态*/
	@ApiModelProperty(value="状态下拉")
	private Integer status;
	/**客户*/
	@ApiModelProperty(value="客户id（下拉选择）")
	@NotNull(groups = Valid.update.class, message = "客户id不能是空")
	private Integer agentId;
	/**配件*/
	@ApiModelProperty(value="配件")
	private String parts;
	/**车牌号或者车架号后六位*/
	@ApiModelProperty(value="车牌号或者车架号后6位")
	private String vin;
	
	/**状态*/
	@ApiModelProperty(hidden=true)
	@NotNull(groups = Valid.update.class, message = "id不能是空")
	private Integer id;
}
